<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>客户组详情管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">客户组成员列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="customerGroupDetail" action="${ctx}/base/customerGroupDetail/" method="post">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
	</form:form>
	<tags:message content="${message}"/>
	<a class="btn back-btn" href="${ctx}/base/customerGroup/list">返 回</a>
	<table id="contentTable" class="table table-striped table-bordered ">
		<thead><tr><th>姓名</th><th>年龄</th><th>体重</th><th>电话</th><th>婚姻状况</th><th>地址</th></tr></thead>
		<tbody>
		<c:forEach items="${page.list}" var="customerGroupDetail">
			<tr>
				<td>${customerGroupDetail.customer.name}</td>
				<td>${fns:getAge(customerGroupDetail.customer.birthday)}</td>
				<td>${customerGroupDetail.customer.weight} KG</td>
				<td>${customerGroupDetail.customer.mobile}</td>
				<td>${fns:getDictLabel(customerGroupDetail.customer.marry, 'marry', '')}</td>
				<td>${customerGroupDetail.customer.address}</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>
